package hospital;

/**
 * @author oldliu
 * @since 1.0
 */
public class DepositRoom {
    public static void main(String[] args) {
        //主线程喊号
        
    }
}
class PatientThread extends Thread{
    public String name;//就诊病人
    private  int count;

    @Override
    public void run() {
        while (count<=60){
            System.out.println(name+"正在就诊。。。");
            count++;
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
